package org.example.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.domain.Deposits;
import org.example.domain.DepositsVo;

import java.util.List;

@Mapper
public interface DepositsMapper {
    List<Deposits> depositsList(DepositsVo depositsVo);

    List<Deposits> stashByIdAndTitleAndStatus(Deposits deposits,Integer id);

    List<Deposits> depositsName(Integer depositId);

    void depositsAdd(Deposits deposits);

    void delById(Integer id);

    Integer updateDeposits(Deposits deposits);

    List<Deposits> list();
}
